<%@ include file="inc/header.jspf" %>

<form:form modelAttribute="category" method="post" action="create">
	<fieldset>
		<form:errors path="*" class="errors"/>
	</fieldset>
	<fieldset>
		<form:label path="categoryID"><fmt:message key="ID"/></form:label>
		<form:input path="categoryID"/>
		<form:label path="name"><fmt:message key="name"/></form:label>
		<form:input path="name"/>
		<form:label path="priority"><fmt:message key="priority"/></form:label>
		<form:input path="priority"/>
	</fieldset>
	
	<fieldset>
		<button type="button" data-theme="b" data-inline="true" data-icon="bars" onclick="location.href = 'search';"><fmt:message key="list"/></button>
		<button type="button" data-theme="b" data-inline="true" data-icon="refresh" onclick="location.reload();"><fmt:message key="reset"/></button>
		<button type="submit" data-theme="b" data-inline="true" data-icon="forward"><fmt:message key="save"/></button>
	</fieldset>
</form:form>

<%@ include file="inc/footer.jspf" %>